package zuoye0515;

/**
 * Intel
 * 
 * @author Y
 *
 */
public class Intel implements CPU {
	private String name;
	private double frequency;

	public Intel(String name, double frequency) {
		this.name = name;
		this.frequency = frequency;
	}

	public void function() {
		System.out.println("因特尔的" + name + ",频率为" + frequency + "的cpu开始启动运行...");
		System.out.println("正在持续计算,输出中...");
	}

}
